

<%@ page import="ch.vd.dec.selt.petale.Echeance" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'echeance.label', default: 'Echeance')}" />
        <title><g:message code="default.create.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.create.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${echeanceInstance}">
            <div class="errors">
                <g:renderErrors bean="${echeanceInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form action="save" >
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="CODECHEA"><g:message code="echeance.CODECHEA.label" default="CODECHEA" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'CODECHEA', 'errors')}">
                                    <g:textField name="CODECHEA" maxlength="5" value="${echeanceInstance?.CODECHEA}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="ENTE1RAP"><g:message code="echeance.ENTE1RAP.label" default="ENTE 1 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'ENTE1RAP', 'errors')}">
                                    <g:textField name="ENTE1RAP" maxlength="50" value="${echeanceInstance?.ENTE1RAP}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="ENTE2RAP"><g:message code="echeance.ENTE2RAP.label" default="ENTE 2 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'ENTE2RAP', 'errors')}">
                                    <g:textField name="ENTE2RAP" maxlength="50" value="${echeanceInstance?.ENTE2RAP}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="ENTE3RAP"><g:message code="echeance.ENTE3RAP.label" default="ENTE 3 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'ENTE3RAP', 'errors')}">
                                    <g:textField name="ENTE3RAP" maxlength="50" value="${echeanceInstance?.ENTE3RAP}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="FLIMPRES"><g:message code="echeance.FLIMPRES.label" default="FLIMPRES" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'FLIMPRES', 'errors')}">
                                    <g:select name="FLIMPRES" from="${echeanceInstance.constraints.FLIMPRES.inList}" value="${echeanceInstance?.FLIMPRES}" valueMessagePrefix="echeance.FLIMPRES"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="ECHE1RAP"><g:message code="echeance.ECHE1RAP.label" default="ECHE 1 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'ECHE1RAP', 'errors')}">
                                    <g:textField name="ECHE1RAP" value="${fieldValue(bean: echeanceInstance, field: 'ECHE1RAP')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="ECHE2RAP"><g:message code="echeance.ECHE2RAP.label" default="ECHE 2 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'ECHE2RAP', 'errors')}">
                                    <g:textField name="ECHE2RAP" value="${fieldValue(bean: echeanceInstance, field: 'ECHE2RAP')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="ECHE3RAP"><g:message code="echeance.ECHE3RAP.label" default="ECHE 3 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'ECHE3RAP', 'errors')}">
                                    <g:textField name="ECHE3RAP" value="${fieldValue(bean: echeanceInstance, field: 'ECHE3RAP')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="ECHEFACT"><g:message code="echeance.ECHEFACT.label" default="ECHEFACT" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'ECHEFACT', 'errors')}">
                                    <g:textField name="ECHEFACT" value="${fieldValue(bean: echeanceInstance, field: 'ECHEFACT')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="EMIS1RAP"><g:message code="echeance.EMIS1RAP.label" default="EMIS 1 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'EMIS1RAP', 'errors')}">
                                    <g:textField name="EMIS1RAP" value="${fieldValue(bean: echeanceInstance, field: 'EMIS1RAP')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="EMIS2RAP"><g:message code="echeance.EMIS2RAP.label" default="EMIS 2 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'EMIS2RAP', 'errors')}">
                                    <g:textField name="EMIS2RAP" value="${fieldValue(bean: echeanceInstance, field: 'EMIS2RAP')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="EMIS3RAP"><g:message code="echeance.EMIS3RAP.label" default="EMIS 3 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'EMIS3RAP', 'errors')}">
                                    <g:textField name="EMIS3RAP" value="${fieldValue(bean: echeanceInstance, field: 'EMIS3RAP')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="EMISPOUR"><g:message code="echeance.EMISPOUR.label" default="EMISPOUR" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'EMISPOUR', 'errors')}">
                                    <g:textField name="EMISPOUR" value="${fieldValue(bean: echeanceInstance, field: 'EMISPOUR')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="MTFR1RAP"><g:message code="echeance.MTFR1RAP.label" default="MTFR 1 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'MTFR1RAP', 'errors')}">
                                    <g:textField name="MTFR1RAP" value="${fieldValue(bean: echeanceInstance, field: 'MTFR1RAP')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="MTFR2RAP"><g:message code="echeance.MTFR2RAP.label" default="MTFR 2 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'MTFR2RAP', 'errors')}">
                                    <g:textField name="MTFR2RAP" value="${fieldValue(bean: echeanceInstance, field: 'MTFR2RAP')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="MTFR3RAP"><g:message code="echeance.MTFR3RAP.label" default="MTFR 3 RAP" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: echeanceInstance, field: 'MTFR3RAP', 'errors')}">
                                    <g:textField name="MTFR3RAP" value="${fieldValue(bean: echeanceInstance, field: 'MTFR3RAP')}" />
                                </td>
                            </tr>
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
